<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CAD-Tool: plane Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CAD-Tool
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classplane-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">plane Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>class for a plane plane represented as (a,b,c,d) corresponding to the equation ax + by + cz = d  
 <a href="classplane.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="structs_8h_source.html">structs.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adbf234bb1d3aca2d226e32cb6dea9199"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classplane.html#adbf234bb1d3aca2d226e32cb6dea9199">plane</a> (float <a class="el" href="classplane.html#a93c319b577955eca012b2866db926c1f">a</a>, float <a class="el" href="classplane.html#af4a97d4328067448317dd787e048bc70">b</a>, float <a class="el" href="classplane.html#a3024e149a5b2cb4697fa71ae7d539bd1">c</a>, float <a class="el" href="classplane.html#a9a3cb65698785bad8199e7afbd083e27">d</a>)</td></tr>
<tr class="memdesc:adbf234bb1d3aca2d226e32cb6dea9199"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor for a plane  <a href="#adbf234bb1d3aca2d226e32cb6dea9199">More...</a><br /></td></tr>
<tr class="separator:adbf234bb1d3aca2d226e32cb6dea9199"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab36174f444a88d3a53d9892828308b48"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classplane.html#ab36174f444a88d3a53d9892828308b48">plane</a> ()</td></tr>
<tr class="memdesc:ab36174f444a88d3a53d9892828308b48"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor for a plane  <a href="#ab36174f444a88d3a53d9892828308b48">More...</a><br /></td></tr>
<tr class="separator:ab36174f444a88d3a53d9892828308b48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab58a90304cbd0db72264be65b3207677"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classplane.html#ab58a90304cbd0db72264be65b3207677">printit</a> ()</td></tr>
<tr class="memdesc:ab58a90304cbd0db72264be65b3207677"><td class="mdescLeft">&#160;</td><td class="mdescRight">print();  <a href="#ab58a90304cbd0db72264be65b3207677">More...</a><br /></td></tr>
<tr class="separator:ab58a90304cbd0db72264be65b3207677"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a93c319b577955eca012b2866db926c1f"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classplane.html#a93c319b577955eca012b2866db926c1f">a</a></td></tr>
<tr class="separator:a93c319b577955eca012b2866db926c1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4a97d4328067448317dd787e048bc70"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classplane.html#af4a97d4328067448317dd787e048bc70">b</a></td></tr>
<tr class="separator:af4a97d4328067448317dd787e048bc70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3024e149a5b2cb4697fa71ae7d539bd1"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classplane.html#a3024e149a5b2cb4697fa71ae7d539bd1">c</a></td></tr>
<tr class="separator:a3024e149a5b2cb4697fa71ae7d539bd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a3cb65698785bad8199e7afbd083e27"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classplane.html#a9a3cb65698785bad8199e7afbd083e27">d</a></td></tr>
<tr class="separator:a9a3cb65698785bad8199e7afbd083e27"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>class for a plane plane represented as (a,b,c,d) corresponding to the equation ax + by + cz = d </p>

<p>Definition at line <a class="el" href="structs_8h_source.html#l00113">113</a> of file <a class="el" href="structs_8h_source.html">structs.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="adbf234bb1d3aca2d226e32cb6dea9199"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">plane::plane </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>constructor for a plane </p>
<p>This constructor edits (a,b,c,d) as following - if d is non-zero (a',b',c',d') = (a/d,b/d,c/d,1) else if c is non-zero (a',b',c',0) = (a/c,b/c,1,0) else if b is non-zero (a',b',0,0) = (a/b,1,0,0) else (a'0,0,0) = (1,0,0,0) </p>

<p>Definition at line <a class="el" href="structs_8cpp_source.html#l00109">109</a> of file <a class="el" href="structs_8cpp_source.html">structs.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab36174f444a88d3a53d9892828308b48"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">plane::plane </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>constructor for a plane </p>

<p>Definition at line <a class="el" href="structs_8cpp_source.html#l00099">99</a> of file <a class="el" href="structs_8cpp_source.html">structs.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab58a90304cbd0db72264be65b3207677"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void plane::printit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>print(); </p>

<p>Definition at line <a class="el" href="structs_8cpp_source.html#l00104">104</a> of file <a class="el" href="structs_8cpp_source.html">structs.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a93c319b577955eca012b2866db926c1f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float plane::a</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="structs_8h_source.html#l00115">115</a> of file <a class="el" href="structs_8h_source.html">structs.h</a>.</p>

</div>
</div>
<a class="anchor" id="af4a97d4328067448317dd787e048bc70"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float plane::b</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="structs_8h_source.html#l00116">116</a> of file <a class="el" href="structs_8h_source.html">structs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3024e149a5b2cb4697fa71ae7d539bd1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float plane::c</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="structs_8h_source.html#l00117">117</a> of file <a class="el" href="structs_8h_source.html">structs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9a3cb65698785bad8199e7afbd083e27"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float plane::d</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="structs_8h_source.html#l00118">118</a> of file <a class="el" href="structs_8h_source.html">structs.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="structs_8h_source.html">structs.h</a></li>
<li>/home/manish/Desktop/Manish_CAD_Tool/src/<a class="el" href="structs_8cpp_source.html">structs.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
